package com.example.secondhandsysapi.Service;

import com.example.secondhandsysapi.Entity.LookLogInfo;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LookLogInfoService {
    Integer deleteByLookId(Integer look_id);
    List<LookLogInfo> getAllLookLogInfoAll();
    List<LookLogInfo> getAllLookLogInfoByUserId(Integer user_id);
    List<LookLogInfo> getAllLookLogInfoByPage(String log_page);
    List<LookLogInfo> getAllLookLogInfoByUserIdPage(Integer user_id, String log_page);
    List<LookLogInfo> getAllLookLogInfoByTime(Date log_time);
    List<LookLogInfo> getAllLookLogInfoByUserIdTime(Integer user_id, Date log_time);
    List<LookLogInfo> getAllLookLogInfoByTimePage(Date log_time, String log_page);
    List<LookLogInfo> getAllLookLogInfoByUserIdTimePage(Integer user_id,Date log_time,String log_page);
    List<LookLogInfo> getAllLookLogInfoByRole(@Param("role") Integer role);
    PageInfo<LookLogInfo> getPageLookLogInfo(Integer pageNum, Integer pageSize);
}

